package cn.wgx.safetyhelmet.service;

import cn.wgx.safetyhelmet.entity.User;

import java.util.List;

public interface UserService {

     List<User> getUsers(User user);

     User add(User user);

     int del(Long id);

     int del(String name);

     int update(User user);

     int getAllUsers();

    User getUserById(Long id);
}
